<%--
  Created by IntelliJ IDEA.
  User: msi
  Date: 2021/7/24
  Time: 18:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<!-- 引入 Bootstrap -->
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<head>
    <title>Title</title>
</head>
<body>
<button onclick="window.history.back();" value="回退">回退</button>
<div class="container">

    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>更新用户</small>
                </h1>
            </div>
        </div>
    </div>

    <form action="${pageContext.request.contextPath}/user/updateuser" method="post">
        <div class="form-group">
            <label for="userId">用户账号</label>
            <input type="text" name="userId" class="form-control" id="userId" required >
        </div>
        <div class="form-group">
            <label for="userName">用户姓名</label>
            <input type="text" name="username" class="form-control" id="userName" required >
        </div>
        <div class="form-group">
            <label for="userSex">用户性别</label>
            <input type="text" name="usersex" class="form-control" id="userSex" required >
        </div>
        <div class="form-group">
            <label for="userphone">用户电话号码</label>
            <input type="text" name="userphone" class="form-control" id="userphone" required >
        </div>
        <div class="form-group">
            <label for="userdepartment">用户部门</label>
            <input type="text" name="userdepartment" class="form-control" id="userdepartment" required >
        </div>
        <div class="form-group">
            <label for="useraddress">用户地址</label>
            <input type="text" name="useraddress" class="form-control" id="useraddress" required >
        </div>

        <div class="form-group">
            <label for="useremail">用户邮箱</label>
            <input type="text" name="useremail" class="form-control"id="useremail" required >
        </div>
        <div class="form-group">
            <label for="userPassword">用户密码</label>
            <input type="password" name= "userPassword" class="form-control "id="userPassword" required >
        </div>


        <div class="form-group">
            <input type="submit" class="form-control" value="更新用户" >
        </div>


    </form>




</body>
</html>
